<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="管理端.css">
    <script src="用户端.js"></script>
</head>

<body>
    <div class='head'>行政审批系统</div>

    <div class='left'>
        <img src="../用户端页面/wk.png" alt="" id="img1">
        <div id="Aa"><a href="../登录系统/登录.html">退出登录></a></div>
        <button class="Ab" id="Ab1">用户管理</button>
        <button class="Ab" id="Ab2">监察内容管理</button>
    </div>

    <div class="head2">用户管理</div>

    <div class="subjeck1">用户档案
        <table cellspacing="0" cellpadding="10">
            <tr>
                <th>序号</th>
                <th>用户名</th>
                <th>账号</th>
                <th>联系方式</th>
                <th>操作</th>
            </tr>
            <tr>
                <td>1111</td>
                <td>2222</td>
                <td>3333</td>
                <td>4444</td>
                <td>
                    <button>冻结</button>
                    <button>解冻</button>
                </td>
            </tr>
        </table>

    </div>

    <div class="subjeck2">
        <table cellspacing=“0” cellpadding=“10”>
            <tr>
                <th>序号</th>
                <th>对象</th>
                <th>类型</th>
                <th>联系方式</th>
                <th>状态</th>
                <th>操作</th>
            </tr>
            <tr>
                <td>11111</td>
                <td>22222</td>
                <td>33333</td>
                <td>44444</td>
                <td>55555</td>
                <td>
                    <button>通过</button>
                    <button>驳回</button>
                </td>
            </tr>
            <tr>
                <td>11111</td>
                <td>22222</td>
                <td>33333</td>
                <td>44444</td>
                <td>55555</td>
                <td>
                    <button>通过</button>
                    <button>驳回</button>
                </td>
            </tr>
            <tr>
                <td>11111</td>
                <td>22222</td>
                <td>33333</td>
                <td>44444</td>
                <td>55555</td>
                <td>
                    <button>通过</button>
                    <button>驳回</button>
                </td>
            </tr>

        </table>
    </div>



    <div></div>
</body>

<script>
    var head2 = document.querySelector('.head2');
    var subjeck1 = document.querySelector('.subjeck1');
    var subjeck2 = document.querySelector('.subjeck2');
    var Ab1 = document.getElementById('Ab1');
    var Ab2 = document.getElementById('Ab2');

    Ab1.onclick = function () {
        subjeck1.style.display = 'block';
        subjeck2.style.display = 'none';
        head2.innerHTML = '用户管理';
    }

    Ab2.onclick = function () {
        subjeck1.style.display = 'none';
        subjeck2.style.display = 'block';
        head2.innerHTML = '监察内容管理';
    }
</script>
</html>







